﻿using FlexFlow.Base.Interface;
using FlexFlow.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlexFlow.Runtime.Applications
{
    /// <summary>
    /// 表示流程终止节点
    /// </summary>
    public class EndActivityApplication : IWorkFlowApplication
    {
        public ApplicationExecuteResult Execute(ApplicationInvokeContext context)
        {
            return new ApplicationExecuteResult()
            {
                NextActivityIds = null
            };
        }

        public TaskSubmitResult ProcessTaskSubmit(ApplicationInvokeContext context, WorkFlowTask task)
        {
            throw new NotImplementedException();
        }


        public DataSlot[] GetDataSlots(KeyValuePair<string, string>[] options)
        {
            return new DataSlot[] { };
        }
    }
}
